import { defHttp } from '@/utils/http/axios'

enum Api {
  GET_TABLE_DATA = '/alarm/record/energy/page',
}

export const getTableData = (params) => defHttp.get({ url: Api.GET_TABLE_DATA, params })
